﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyWeb.ServiceBus.Gateway.Model
{
    public class FileHostAndPort
    {
        public FileHostAndPort() { }

        public FileHostAndPort(FileHostAndPort from)
        {
            Host = from.Host;
            Port = from.Port;
        }

        public FileHostAndPort(string host, int port)
        {
            Host = host;
            Port = port;
        }
        /// <summary>
        /// 主机
        /// </summary>
        public string Host { get; set; }
        /// <summary>
        /// 端口
        /// </summary>
        public int Port { get; set; }
    }
}
